package com.ctriphotel.website.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@Controller
public class ListController {
    @RequestMapping(value = {"/list"})
    public String indexEntry(@RequestParam Map<String, String> requestParams, Model model) {
        model.addAttribute("name", "ctrip hotel list");
        return "list";
    }
}
